package com.zwh.service;

import org.springframework.stereotype.Service;

import com.zwh.dao.UserDAO;
import com.zwh.entity.User;

import javax.annotation.Resource;

@Service("userService")
public class UserServiceImpl implements UserService {
	@Resource
	private UserDAO userDAO;
	@Override
	public User selectUser(String username) {
		
		return userDAO.selectUser(username);
	}

}
